<template>
    <div class="createPost-container">
        <el-form ref="postForm" :model="postForm" :rules="rules" class="form-container">
                  <sticky :z-index="10" :class-name="'sub-navbar '+postForm.status">
        <el-button
          v-loading="loading"
          style="margin-left: 10px;"
          type="success"
          @click="submitForm"
        >发布</el-button>
        <el-button v-loading="loading" type="warning" @click="draftForm">草稿</el-button>
      </sticky>
        <div class="createPost-main-container">
            
        </div>
        </el-form>
    </div>
</template>

<script>
import Sticky from "@/components/Sticky"; // 粘性header组件
export default {
    name:'BasicsDetail',
    components:{Sticky},
    props:{
        isEdit:{
            type:Boolean,
            default:false
        }
    },
    data(){

    }
}
</script>